package com.code.day06;

public class Day06Class_Train {

    public static void main(String[] args) {
        Day06Class day06Class = new Day06Class();
        day06Class.name = "张三";
        day06Class.age = "18";
        day06Class.eat();
        day06Class.sleep();
        day06Class.work();

        new Day06Class().eat();
    }
}
